<html>
<head>
<title>net2ftp help</title>
<link rel="stylesheet" type="text/css" href="../../skins/blue/css/main.css">
</head>

<body style="margin-left: 70px; margin-right: 70px;">

<div style="color: red; font-weight: bold; font-size: 110%;">
Note: the documentation below is outdated; there have been major changes between versions 0.82 and 0.90.
</div>

<div class="header21">Participate in the development!</div>

Never worked on an open source software project before? Read Havoc Pennington's article <a href="http://www106.pair.com/rhp/hacking.html">Working on Free Software</a> to find out what it's like. <br /><br />

If you're interested in helping with the development of net2ftp, feel free! <br />
Even if you can't code, there are plenty of other things to do, such as:<br /><br />
 
<ul>
<li> design the user interface</li>
<li> create new logos and icons </li>
<li> test new versions </li>
<li> translate messages </li>
<li> write reviews </li>
<li> write documentation (for end users and developers)</li>
<li> maintain the downloadable zip files </li>
</ul>

Post a message on the forum or send an email to david AT net2ftp DOT com.<br />

<br /><br />

<div class="header21">Overview of the code</div>

[ Introduction ]

<textarea cols="70" rows="15" wrap="off">

[ Sample code ]

</textarea>

<br /><br />

The login information and state variables are passed from screen to screen via forms.

<br /><br />

<div class="header21">Sessions and cookies</div>

For the moment net2ftp doesn't use sessions. 
This was to avoid session timeouts after 20 or 30 minutes; you can work without worrying about it for as long as you want. 

<br /><br />

Cookies are used to store the last FTP server, username and directory used.

<br /><br />

<div class="header21">Settings</div>

net2ftp can be configured using the settings.inc.php, settings_authorizations.inc.php and settings_screens.inc.php files. 
One global variable $net2ftp_settings stores all the settings.

<br /><br />

<div class="header21">Icons</div>

net2ftp uses 2 icon sets: <a href="http://www.icon-king.com">Nuvola</a> and <a href="http://www.carlitus.net">Noia</a>.
Which icon set is used depends on the skin; all the code behind icons is in the /includes/skins.inc.php file.

There are 4 kinds of icons within net2ftp:
<ul>
<li>
Action icons: when you press on them, an action is triggered. 
There is an onMouseOver effect and onClick event. 
These icons are 32x32 pixels.
</li>
<li>
Mime icons: they indicate which kind of file is shown in the browse view. 
No onMouseOver effect. 
These icons are 16x16 pixels.
</li>
<li> 
Title icons: they are placed next to the title on action screens.
</li>
<li>
Settings icons (not yet in use): they indicate if a setting is on or off -- for example if the FTP transfer mode is ASCII or BINARY. 
When the mode is ASCII, the ASCII icon is shown with a border, and there is no onMouseOver effect. 
The BINARY icon is shown without a border and there is an onMouseOver effect. 
The code for this FTP transfer mode is already written but not yet in use.
</li>
</ul>

<br /><br />

In (recent) Mozilla-based browsers, PNG images with a transparent background are shown fine. 
In Internet Explorer however they are not: the transparent regions are grey.
Microsoft has issued a note on how to fix this: <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;Q294714">http://support.microsoft.com/default.aspx?scid=kb;en-us;Q294714</a><br /><br />

The onMouseOver effect increases the icon size from 32x32 to 34x34 pixels.
To avoid that the rest of the content would move, there is margin of 2px when the icon is 32x32, and a margin of 0px when it is 34x34.<br /><br />

<br /><br /><br /><br />

</body>
</html>